﻿<%@ page language="java" pageEncoding="UTF-8"
	errorPage="/ui/defaultException.jsp"%>
<%@include file="/ui/tags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${ dest.zhname }（${ dest.enname}）的详细交通线路</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<%@include file="/ui/portal/commonjscss.jsp"%>
<script src="${cpath}/resources/portal/js/navigationLogic.js"
	type="text/javascript"></script>
</head>
<body>
	<div class="page">
		<c:set var="renderView" value="3" scope="page"></c:set>
		<%@include file="/ui/portal/head.jsp"%>
		<div id="container" class="container margin10">
			<div class="hotel-info-list">
				<div class="h-left">
					<%@include file="/ui/portal/destination/destleft.jsp"%>
				</div>
				<div class="h-right">
					<div class="hotel-areainfo">
						<b><a href="${cpath}/destination/${dest.destId}"
							title="${ dest.zhname }（${ dest.enname}）">${ dest.zhname }（${ dest.enname}）</a>
						</b> > 交通
					</div>
					<div class="trafficinf-list">
						<c:forEach var="traffic" items="${traffics }">
							<div class="traffic-detail">
								<div class="traffic-detail-title">
									<div class="traffic-detail-title-line-left">
										<hr />
									</div>
									<div class="traffic-detail-title-name">${traffic.name } &nbsp;></div>
									<div class="traffic-detail-title-line-right">
										<hr />
									</div>
								</div>
								<div class="clear"></div>
								<div class="traffic-detail-info">
									<c:if test="${!empty  traffic.content}">
									${traffic.content }<br />
									</c:if>
									<c:forEach var="level2" items="${traffic.subTraffic }">
										<b>${level2.name}</b><br />
                               			${level2.content }<br />
                               			<c:forEach var="level3" items="${level2.subTraffic }">
										<b>${level3.name}</b><br />
                               			${level3.content }<br />
										</c:forEach>
									</c:forEach>
								</div>
							</div>
						</c:forEach>
						<%-- 
						<c:if test="${!empty  traffics.railway}">
							<div class="traffic-detail">
								<div class="traffic-detail-title">
									<div class="traffic-detail-title-line-left">
										<hr />
									</div>
									<div class="traffic-detail-title-name">铁路 &nbsp;></div>
									<div class="traffic-detail-title-line-right">
										<hr />
									</div>
								</div>
								<div class="clear"></div>
								<div class="traffic-detail-info">
									<c:forEach var="section" items="${traffics.railway }">
										<b>${section.trafficName }</b>
										<br />
                               ${section.trafficDesc }<br />
									</c:forEach>
								</div>
							</div>
						</c:if>

						<c:if test="${!empty  traffics.highway}">
							<div class="traffic-detail">
								<div class="traffic-detail-title">
									<div class="traffic-detail-title-line-left">
										<hr />
									</div>
									<div class="traffic-detail-title-name">公路 &nbsp;></div>
									<div class="traffic-detail-title-line-right">
										<hr />
									</div>
								</div>
								<div class="clear"></div>
								<div class="traffic-detail-info">
									<c:forEach var="section" items="${traffics.highway }">
										<b>${section.trafficName }</b>
										<br />
                               ${section.trafficDesc }<br />
									</c:forEach>
								</div>
							</div>
						</c:if>

						<c:if test="${!empty  traffics.waterTraffic}">
							<div class="traffic-detail">
								<div class="traffic-detail-title">
									<div class="traffic-detail-title-line-left">
										<hr />
									</div>
									<div class="traffic-detail-title-name">水运 &nbsp;></div>
									<div class="traffic-detail-title-line-right">
										<hr />
									</div>
								</div>
								<div class="clear"></div>
								<div class="traffic-detail-info">
									<c:forEach var="section" items="${traffics.waterTraffic}">
										<b>${section.trafficName }</b>
										<br />
                               ${section.trafficDesc }<br />
									</c:forEach>
								</div>
							</div>
						</c:if>

						<c:if test="${!empty  traffics.innerTraffic}">
							<div class="traffic-detail">
								<div class="traffic-detail-title">
									<div class="traffic-detail-title-line-left">
										<hr />
									</div>
									<div class="traffic-detail-title-name">市内交通 &nbsp;></div>
									<div class="traffic-detail-title-line-right">
										<hr />
									</div>
								</div>
								<div class="clear"></div>
								<div class="traffic-detail-info">
									<c:forEach var="section" items="${traffics.innerTraffic}">
										<b>${section.trafficName }</b>
										<br />
                               ${section.trafficDesc }<br />
									</c:forEach>
								</div>
							</div>
						</c:if>--%>
					</div>
				</div>
				<div class="clear"></div>
			</div>
		</div>

		<%@include file="/ui/portal/footer.jsp"%>
	</div>
</body>
</html>
